package com.naiterui.ehp.bs.cms.modules.wms.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <pre>
 *
 * </pre>
 *
 * @author fangguanhong
 * @date 2021/4/9 1:25 PM
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("p_prescription_platform_product")
public class PrescriptionPlatformProduct implements Serializable {
    private static final long serialVersionUID = -7183761669577708028L;
    private Long id;
    private String platformId;
    private String number;
    private String name;
    private String commonName;
    private String spec;
    private String approvalNumber;
    private String productionEnterprise;
    private String standardCode;
    private Integer type;
    private Integer status;
    private String unit;
    private Integer addMedicineTag;
    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 修改人
     */
    private String changedBy;

    /**
     * 修改时间
     */
    private Date changedAt;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;
}
